// 左边框的数据
export default {
    state: {
        mapData: "",
    },
    mutations: {
        add(state, payload) {
            // console.log(state);
            // console.log(payload);
            state.mapData = payload
        }
    },
    actions: {
        maps({ commit, state }, payload) {
            // console.log(commit);
            // console.log(state);
            // console.log(payload);
            commit("add", payload)
        }
    },
}